<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="#" th:href="@{/emp/to}">首页</a>
<form th:action="@{/emp/addDept}" method="post">
    部门姓名：<input type="text" name="dname"/><br/>
    生日：<input type="date" name="ctime"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>